home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / text / hyper / htmledit.lha / HTMLEdit / rexx / HTMLEdit-demo.hrx next >
Text File  |  1999-01-04  |  839b  |  49 lines

  1. /*
  2. ** This is a demonstration of ARexx commands of HTML Editor v 1.32
  3. **
  4. ** ARexx ports are named 'HTMLEDIT.1', 'HTMLEDIT.2', etc for every new
  5. ** running copy of this program
  6. */
  7.  
  8. options results
  9. address 'HTMLEDIT.1'
  10.  
  11. /*
  12. ** These are some commands for TextEditor gadget
  13. */
  14.  
  15. /* let's paste something from clipboard */
  16. 'paste'
  17.  
  18. /* now we'll go to other position */
  19. 'line 5'
  20. 'column 5'
  21.  
  22. /* and write some text there */
  23. 'text Amiga rules'
  24.  
  25.  
  26.  
  27. /*
  28. ** These commands are unique for HTML Editor application.
  29. ** Note that all these commands starts with 'he_'.
  30. */
  31.  
  32. /* create new file */
  33. 'he_newfile'
  34.  
  35. /* save this file to ram */
  36. 'he_save ram:newfile.html'
  37.  
  38. /* load another file */
  39. 'he_load s:startup-sequence'
  40.  
  41. /* refresh HTMLtext gadget */
  42. 'he_refresh'
  43.  
  44. /* display an 'about' requester*/
  45. 'he_about'
  46.  
  47. /* insert some HTHML tags*/
  48. 'he_insert <b> </b>'
  49.